﻿@page "/logout"
@inject IJSRuntime JSRuntime
@inject HttpClient HttpClient
@inherits BlazorAdmin.Helpers.BlazorComponent

@code {

    protected override async Task OnInitializedAsync()
    {
        await HttpClient.PostAsync("User/Logout", null);
        await new Route(JSRuntime).RouteOutside("/Identity/Account/Login");
    }

}
